package Command_Pattern.Windows;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Client {
    public static void main(String[] args) {
        Menu menu=new Menu();
        Menu menu1=new Menu();
        Menu menu2=new Menu();
        MenuItem menuItem,menuItem1,menuItem2;
        menuItem=new createCommand();
        menuItem1=new openCommand();
        menuItem2=new editCommand();
        menu.addMeanItem(menuItem);
        menu1.addMeanItem(menuItem1);
        menu2.addMeanItem(menuItem2);
        menu.Click();
        menu1.Click();
        menu2.Click();
    }
}
